libxenlight: avoid writing empty values to xenstore
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Dec 2009 07:09:44 +0000 (07:09 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Dec 2009 07:09:44 +0000 (07:09 +0000)
commit91064f9e07648d000118586573fbba8c9a5bdee3
tree6cc7c3562c5f1884d056b772129b7f86351bbe4e
parent1835885f4fb1175b4fd8a9a65d704681b37f916d
libxenlight: avoid writing empty values to xenstore

Prevent segmentation fault caused by empty values
in key-value pairs for the /vm/ subdirectory
when restoring a pv domain.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.com>
tools/libxl/libxl.c